<div class="page-crumb">
	<div class="ui-ctrl ui-crumb"><span class="ui-crumb-node ui-crumb-node-first ui-crumb-node-last">修改代码位分组</span></div>
</div>

<div class="layui-main">

	<form class="layui-form" action="" onsubmit="return false">

		<input type="hidden" style="width:300px" name="id" value="{$info['id']}">
		<div class="layui-form-item">
			<label class="layui-form-label">选择媒体：</label>
			<div class="layui-input-inline">
				<select name="media_id" lay-verify="media">
					<option value=""></option>
					<foreach name="result" item="ret" key="k">
						<option value="{$ret.id}" <if condition="$info[media_id] eq $ret[id]"> selected="selected" </if> >{$ret.name}</option>
					</foreach>
				</select>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">分组名称：</label>
			<div class="layui-input-inline">
				<input type="text" name="group_name" lay-verify="group" autocomplete="off" placeholder="" class="layui-input" value="{$info.group_name}">
			</div>
			<div class="layui-form-mid layui-word-aux">最多可输入60个字符</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="submit">　　保存　　</button>
				<button class="layui-btn layui-btn-primary close-btn" onclick="PopModel.closeFrame();">取消</button>
			</div>
		</div>

	</form>
</div>
<script src="__BACKEND_STATIC__/js/codeGroup/edit.js"></script>